import React, {Component} from 'react';
import {Layout, Menu, Breadcrumb, Icon,LocaleProvider} from 'antd';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import './style/index.less';
import Slider from './components/SiderCustom/SiderCustom';
import HeaderCustom from './components/HeaderComponent/HeaderCustom';
import Login from './pages/login/login'
import moment from 'moment';
import 'moment/locale/zh-cn';
moment.locale('zh-cn');
const {Content, Footer} = Layout;
const SubMenu = Menu.SubMenu;

export default class App extends Component {
    componentWillMount() {

    }
    state = {
        data:'',//获取的login用户的密码
    }
    render() {
        return (
            <Layout>
                <LocaleProvider locale={zhCN}>
                    {this.props.children}
                </LocaleProvider>
            </Layout>
        );
    }
}
